@import '../../common/styles/theme/default.less';

.@{prefix}-tab-bar {
  height: 100%;
  overflow: hidden;
  .hr-tabs {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    &-content-wrapper {
      width: 100%;
      height: 100%;
      min-height: 0;
      .hr-tabs-pane {
        overflow-y: auto;
      }
    }
    &-wrapper {
      flex-shrink: 0;
      .hr-tabs-bar {
        position: relative;
        bottom: 0;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: space-around;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        border-top: 1px solid #ddd;
        transition-duration: 0.2s;
        transition-property: height bottom;
      }
      // position: fixed;
      // bottom: 0;
      // left: 0;
      // z-index: 1;
      // display: flex;
      // align-items: center;
      // justify-content: space-around;
      // box-sizing: content-box;
      // flex-shrink: 0;
      // width: 100%;
      // height: 100px;
      // padding-bottom: constant(safe-area-inset-bottom);
      // padding-bottom: env(safe-area-inset-bottom);
      // background-color: #fff;
      // border-top: 1px solid @border-color;
    }
    &-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
    }
    &-icon {
      width: 44px;
      height: 44px;
    }
  }
}
